if(isset($_GET['Action'])&&$_GET['Action']=='Appointment'){
if(isset($_GET["ListNo"]) && $_GET["ListNo"]>0){
@$q=mysql_query("select *from property where property_featured='Yes' order by reference_number");
$srow=mysql_fetch_row($q);$srow = $srow[0];
@$pscsfco=$_SESSION['pscsfco'];
if (!isset($_SESSION["pscsfco"])){
$_SESSION["pscsfco"] = array();
$_SESSION["counts"] = array();
}
$i=0;
while ($i
0){
@$i=0;
while ($i$value){
@$query=mysql_query("select *from property where property_featured='Yes' order by reference_number");
while($data=mysql_fetch_array($query)){ //this loop is to find h_pscsfco instead of h_id
if (isset($_SESSION['pscsfco'])&&$_SESSION['pscsfco']==0){$key="";}else{
$key=$data["reference_number"];}
}
//to view session data as list starts here by lipon
$list .= "" .$value. " | ";
$list .= "Remove | ";
$list .= "